<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
<!-- footer -->
<div class="footer">
<ul class="links">
    <li class="title">友情链接</li>
    <?php foreach( $link_data as $single ) { ?>
    <li><a href="<?php echo $single['url']; ?>" target="_blank"><?php echo $single['name']; ?></a></li>
    <?php } ?>
    <?php if(chk_permission('link')){ ?><li><a href="<?php my_url('admin', 'link'); ?>">管理&raquo;</a></li><?php } ?>
</ul>
</div>
<!-- footer -->

</div>
<!-- wrap -->

</body>
</html>